package com.ce.pms.charge.vo;

import java.util.Date;

import javax.persistence.Column;

import com.ce.pms.common.web.ICacheManage;
import com.ce.pms.house.vo.BuildingVO;
import com.sitechasia.webx.core.model.IViewObject;

public class ChargeItemVO implements IViewObject,ICacheManage<ChargeItemVO>{
	/**
	 * 关键字
	 */
	private Long keyword;

	/**
	 * 项目名称
	 */
	private String itemName;

	/**
	 * 交易码ID
	 */
	private Long businessCodeId;

	/**
	 * 交易码
	 */
	private String businessCodeName;

	/**
	 * 交易描述
	 */
	private String businessDescription;

	/**
	 * 收费类型
	 */
	private String chrgType;

	/**
	 * 收费类型名称显示值
	 */
	private String chrgTypeDisplay;

	/**
	 * 走表类型
	 */
	private String meterType;

	/***
	 * 走表类型名称显示值
	 */
	private String meterTypeDisplay;

	/**
	 * 序号
	 */
	private Short seqNo;

	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 是否被引用:1已被引用;0未被引用
	 */
	private String referSelect="0";

	/**
	 * 系统信息
	 */
	private Long creator;

	private Date sysDate;

	private Long modifier;

	private Date modifyDate;

	/**
	 * 功能描述: 比较编号大小确定排序，编号越小越靠前(升序排列)
	 *
	 * @author 胡煦
	 * Created on:2008-8-13
	 *
	 * 修改原因：
	 * @return 如果该对象小于、等于或大于指定对象，则分别返回负整数、零或正整数。
	 */
	public int compareTo(ChargeItemVO o) {
		Short another = o.getSeqNo();
		Short thisSeqNo = this.seqNo;
		another = another == null ? 0 : another;
		thisSeqNo = thisSeqNo == null ? 0 : thisSeqNo;
		return thisSeqNo - another;
	}

	/**
	 * @return the businessCodeId
	 */
	public Long getBusinessCodeId() {
		return businessCodeId;
	}

	/**
	 * @param businessCodeId the businessCodeId to set
	 */
	public void setBusinessCodeId(Long businessCodeId) {
		this.businessCodeId = businessCodeId;
	}

	/**
	 * @return the chrgType
	 */
	public String getChrgType() {
		return chrgType;
	}

	/**
	 * @param chrgType the chrgType to set
	 */
	public void setChrgType(String chrgType) {
		this.chrgType = chrgType;
	}

	/**
	 * @return the creator
	 */
	public Long getCreator() {
		return creator;
	}

	/**
	 * @param creator the creator to set
	 */
	public void setCreator(Long creator) {
		this.creator = creator;
	}

	/**
	 * @return the itemName
	 */
	public String getItemName() {
		return itemName;
	}

	/**
	 * @param itemName the itemName to set
	 */
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	/**
	 * @return the keyword
	 */
	public Long getKeyword() {
		return keyword;
	}

	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	/**
	 * @return the meterType
	 */
	public String getMeterType() {
		return meterType;
	}

	/**
	 * @param meterType the meterType to set
	 */
	public void setMeterType(String meterType) {
		this.meterType = meterType;
	}

	/**
	 * @return the modifier
	 */
	public Long getModifier() {
		return modifier;
	}

	/**
	 * @param modifier the modifier to set
	 */
	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	/**
	 * @return the modifyDate
	 */
	public Date getModifyDate() {
		return modifyDate;
	}

	/**
	 * @param modifyDate the modifyDate to set
	 */
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the sysDate
	 */
	public Date getSysDate() {
		return sysDate;
	}

	/**
	 * @param sysDate the sysDate to set
	 */
	public void setSysDate(Date sysDate) {
		this.sysDate = sysDate;
	}

	public String getBusinessCodeName() {
		return businessCodeName;
	}

	public void setBusinessCodeName(String businessCodeName) {
		this.businessCodeName = businessCodeName;
	}

	public String getChrgTypeDisplay() {
		return chrgTypeDisplay;
	}

	public void setChrgTypeDisplay(String chrgTypeDisplay) {
		this.chrgTypeDisplay = chrgTypeDisplay;
	}

	public String getMeterTypeDisplay() {
		return meterTypeDisplay;
	}

	public void setMeterTypeDisplay(String meterTypeDisplay) {
		this.meterTypeDisplay = meterTypeDisplay;
	}

	/**
	 * @return the seqNo
	 */
	public Short getSeqNo() {
		return seqNo;
	}

	/**
	 * @param seqNo the seqNo to set
	 */
	public void setSeqNo(Short seqNo) {
		this.seqNo = seqNo;
	}

	public String getHasSave() {
		// TODO Auto-generated method stub
		return null;
	}

	public Integer getIndex() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getOpratorStatus() {
		// TODO Auto-generated method stub
		return null;
	}

	public void setHasSave(String hasSave) {
		// TODO Auto-generated method stub

	}

	public void setIndex(Integer index) {
		// TODO Auto-generated method stub

	}

	public void setOpratorStatus(String opratorStatus) {
		// TODO Auto-generated method stub

	}

	/**
	 * @return the referSelect
	 */
	public String getReferSelect() {
		return referSelect;
	}

	/**
	 * @param referSelect the referSelect to set
	 */
	public void setReferSelect(String referSelect) {
		this.referSelect = referSelect;
	}

	public String getBusinessDescription() {
		return businessDescription;
	}

	public void setBusinessDescription(String businessDescription) {
		this.businessDescription = businessDescription;
	}



}
